﻿using DadayunApi.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KbtSync.Model
{
    public class StorageForm
    {
        //public string Action { get; set; }
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string Id { get; set; }
        public string ErpItemCode { get; set; }
        public string ProdName { get; set; }
        public double Version { get; set; }
        public List<Storage> Storages { get; set; }
    }

    public class Storage
    {
        [JsonProperty( NullValueHandling = NullValueHandling.Ignore)]
        public string Id { get; set; }
        //public string Action { get; set; }
        public string Warehouse { get; set; }
        public double StoreQty { get; set; }
        public double LockQty { get; set; }
        public double UsableQty { get; set; }
        //public DateTime LockToDate { get; set; }
        public string Note { get; set; }
    }
}
